package com.lovo.shopSys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "sys_goods")
public class GoodsEntity { //商品实体
    @TableId(value = "goodsId")
    private long goodsId;
    @TableField(value = "goodsImg")
    private String goodsImg;
    @TableField(value = "goodsName")
    private String goodsName;
    @TableField(value = "goodsPrice")
    private double goodsPrice;
    @TableField(value = "shopEntity")
    private ShopEntity shopEntity;
    @TableField(value = "goodsStatus")
    private String goodsStatus;

    private SortEntity sortEntity;
}
